package org.japo.java.basics.entities;

import org.japo.java.basics.interfaces.IAnimal;

public class Animal implements IAnimal{
    String sonido = "Bxxxssssssssss!!!!";
    public int NUM_PATAS = 0; 
    
    @Override
    public void saludar() {
        System.out.println("Soy un " + getClass().getSimpleName());
        System.out.printf("Tengo %d patas\n", NUM_PATAS);
        System.out.println(sonido);
    }
    
}
